<%@ Page Language="C#" MasterPageFile="~/MP/Classic.master" AutoEventWireup="true"
    Inherits="Careers_Recruiting_Resume" CodeBehind="Resume.aspx.cs" RoleHint="Applicant" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageContainer" runat="Server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <Triggers>
            <asp:PostBackTrigger ControlID="SubmitButton" />
        </Triggers>
        <ContentTemplate>
            <h1>
                Resume</h1>
            <fieldset class="collpasibleFieldset">
                <asp:Panel ID="PersonalDataHeader" runat="server" CssClass="collapsiblePanelHeader">
                    <h2 style="margin: 0px">
                        <asp:ImageButton ID="PersonalDataHeaderImage" runat="server" ImageUrl="~/MM/imx/bottom.png"
                            AlternateText="(Show...)" Style="float: right; position: relative; top: -2px;
                            background-color: Transparent !important" />
                        Personal Data</h2>
                </asp:Panel>
                <asp:Panel class="jobSection clear" ID="PersonalDataPanel" runat="server">
                    <p>
                        <asp:Label ID="ApplicantNameLabel" runat="server" Text="Name"></asp:Label><span class="requieredField">&nbsp;*</span><br />
                        <asp:TextBox ID="ApplicantNameTextBox" runat="server"></asp:TextBox><asp:RequiredFieldValidator
                            ID="ApplicantNameRequired" runat="server" ControlToValidate="ApplicantNameTextBox"
                            ErrorMessage="Applicant name is required." class="error">Applicant name is required</asp:RequiredFieldValidator><br />
                        <asp:Label ID="ApplicantSurnameLabel" runat="server" Text="Last Name"></asp:Label><span
                            class="requieredField">&nbsp;*</span><br />
                        <asp:TextBox ID="ApplicantSurnameTextBox" runat="server"></asp:TextBox><asp:RequiredFieldValidator
                            ID="ApplicantSurnameRequired" runat="server" ControlToValidate="ApplicantSurnameTextBox"
                            ErrorMessage="Applicant surname is required." class="error">Applicant surname is required</asp:RequiredFieldValidator><br />
                        <asp:Label ID="AddressLabel" runat="server" Text="Address"></asp:Label><span class="requieredField">&nbsp;*</span><br />
                        <asp:TextBox ID="AddressTextBox" runat="server"></asp:TextBox><asp:RequiredFieldValidator
                            ID="AddressRequired" runat="server" ControlToValidate="AddressTextBox" ErrorMessage="Applicant address is required."
                            class="error">Applicant address is required</asp:RequiredFieldValidator><br />
                        <asp:Label ID="PhoneNumberLabel" runat="server" Text="Phone Number"></asp:Label><span
                            class="requieredField">&nbsp;*</span><br />
                        <asp:TextBox ID="PhoneNumberTextBox" runat="server"></asp:TextBox><asp:RequiredFieldValidator
                            ID="PhoneNumberRequired" runat="server" ControlToValidate="PhoneNumberTextBox"
                            ErrorMessage="Applicant phone number is required." class="error">Applicant phone number is required</asp:RequiredFieldValidator><br />
                    </p>
                </asp:Panel>
                <cc1:CollapsiblePanelExtender ID="PersonalDataCollapsiblePanelExtender" runat="server"
                    TargetControlID="PersonalDataPanel" ExpandControlID="PersonalDataHeader" CollapseControlID="PersonalDataHeader"
                    Collapsed="False" ImageControlID="PersonalDataHeaderImage" ExpandedText="(Hide...)"
                    CollapsedText="(Show...)" ExpandedImage="~/MM/imx/top.png" CollapsedImage="~/MM/imx/bottom.png"
                    SuppressPostBack="true" />
            </fieldset>
            <fieldset class="collpasibleFieldset">
                <asp:Panel ID="CustomDataHeader" runat="server" CssClass="collapsiblePanelHeader">
                    <h2 style="margin: 0px">
                        <asp:ImageButton ID="CustomDataHeaderImage" runat="server" ImageUrl="~/MM/imx/bottom.png"
                            AlternateText="(Show...)" Style="float: right; position: relative; top: -2px;
                            background-color: Transparent !important" />
                        Additional Information</h2>
                </asp:Panel>
                <asp:Panel class="jobSection clear" ID="CustomDataPanel" runat="server">
                    <p>
                        <asp:Table ID="FormTable" runat="server" />
                    </p>
                </asp:Panel>
                <cc1:CollapsiblePanelExtender ID="CustomDataCollapsiblePanelExtender" runat="server"
                    TargetControlID="CustomDataPanel" ExpandControlID="CustomDataHeader" CollapseControlID="CustomDataHeader"
                    Collapsed="False" ImageControlID="CustomDataHeaderImage" ExpandedText="(Hide...)"
                    CollapsedText="(Show...)" ExpandedImage="~/MM/imx/top.png" CollapsedImage="~/MM/imx/bottom.png"
                    SuppressPostBack="true" />
            </fieldset>
            <fieldset class="collpasibleFieldset" id="ResumeVideoFieldSet" runat="server">
                <asp:Panel ID="UploadVideoHeader" runat="server" CssClass="collapsiblePanelHeader">
                    <h2 style="margin: 0px">
                        <asp:ImageButton ID="UploadVideoHeaderImage" runat="server" ImageUrl="~/MM/imx/bottom.png"
                            AlternateText="(Show...)" Style="float: right; position: relative; top: -2px;
                            background-color: Transparent !important" />
                        Presentation Video</h2>
                </asp:Panel>
                <asp:Panel class="jobSection clear" ID="UploadVideoPanel" runat="server">
                    <p>
                        <asp:Label ID="VideoLabel" runat="server" Text="Video file: "></asp:Label><br />
                        <asp:FileUpload ID="VideoFileUpload" runat="server" />
                    </p>
                    <p>
                        <b>Note:</b> The file must be a valid video file encoded with <a href="http://www.microsoft.com/downloads/details.aspx?familyid=5691ba02-e496-465a-bba9-b2f1182cdf24&displaylang=en">
                            Windows Media Encoder</a>. The video file size must be smaller than 22 MB. (This
                        is equivalent to a continuous video stream of 10 minutes at 300 Kbps.)
                    </p>
                </asp:Panel>
                <cc1:CollapsiblePanelExtender ID="UploadVideoCollapsiblePanelExtender" runat="server"
                    TargetControlID="UploadVideoPanel" ExpandControlID="UploadVideoHeader" CollapseControlID="UploadVideoHeader"
                    Collapsed="False" ImageControlID="UploadVideoHeaderImage" ExpandedText="(Hide...)"
                    CollapsedText="(Show...)" ExpandedImage="~/MM/imx/top.png" CollapsedImage="~/MM/imx/bottom.png"
                    SuppressPostBack="true" />
            </fieldset>
            <fieldset class="collpasibleFieldset">
                <asp:Panel ID="AdditionalInfoHeader" runat="server" CssClass="collapsiblePanelHeader">
                    <h2 style="margin: 0px">
                        <asp:ImageButton ID="AdditionalInfoHeaderImage" runat="server" ImageUrl="~/MM/imx/bottom.png"
                            AlternateText="(Show...)" Style="float: right; position: relative; top: -2px;
                            background-color: Transparent !important" />
                        Resume</h2>
                </asp:Panel>
                <asp:Panel class="jobSection clear" ID="AdditionalInfoPanel" runat="server">
                    <p>
                        <textarea runat="server" id="AdditionalInfoTextArea" name="AdditionalInfoTextArea"
                            style="width: 80%; height: 150px;" cols="0" rows="0"></textarea><br />
                    </p>
                </asp:Panel>
                <cc1:CollapsiblePanelExtender ID="AdditionalInfoCollapsiblePanelExtender" runat="server"
                    TargetControlID="AdditionalInfoPanel" ExpandControlID="AdditionalInfoHeader"
                    CollapseControlID="AdditionalInfoHeader" Collapsed="False" ImageControlID="AdditionalInfoHeaderImage"
                    ExpandedText="(Hide...)" CollapsedText="(Show...)" ExpandedImage="~/MM/imx/top.png"
                    CollapsedImage="~/MM/imx/bottom.png" SuppressPostBack="true" />
            </fieldset>
            <asp:ValidationSummary ID="ValidationSummary" runat="server" />
            <asp:Button ID="SubmitButton" runat="server" Text="Submit Resume" OnClick="SubmitButton_Click" />
            <asp:LinkButton ID="DemoLinkButton" runat="server" Text="[demo]" OnClick="DemoLinkButton_Click"
                CausesValidation="false" />
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
